package com.wandian.news.bean;

import java.util.List;

/**
 * @Author: cl
 * @CreateDate: 2020/12/3 10:47
 * @UpdateRemark:
 */
public class WXTopBean {

    /**
     * msg : success
     * code : 200
     * newslist : [{"ctime":"2020-08-18","source":"人民日报","title":"全员抵京！三等功！","views":"10W 阅读,31832在看","url":"https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2666342344&idx=1&sn=f012593e4dc63b78005154ffea27c383&scene=0"},{"ctime":"2020-08-18","source":"人民日报","title":"【夜读】相处舒服的人，都懂得换位思考","views":"10W 阅读,12644在看","url":"https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2666342367&idx=1&sn=71a4a830acc098e319e99bd074bd14d5&scene=0"},{"ctime":"2020-08-18","source":"人民日报","title":"年仅36岁的他走了，唯一一条朋友圈让人泪崩\u2026\u2026","views":"10W 阅读,12296在看","url":"https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2666342418&idx=1&sn=97eeff510b98954d80f746bca478cdc4&scene=0"}]
     */
    private String msg;
    private int code;
    private List<NewslistEntity> newslist;

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public void setNewslist(List<NewslistEntity> newslist) {
        this.newslist = newslist;
    }

    public String getMsg() {
        return msg;
    }

    public int getCode() {
        return code;
    }

    public List<NewslistEntity> getNewslist() {
        return newslist;
    }

    public class NewslistEntity {
        /**
         * ctime : 2020-08-18
         * source : 人民日报
         * title : 全员抵京！三等功！
         * views : 10W 阅读,31832在看
         * url : https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2666342344&idx=1&sn=f012593e4dc63b78005154ffea27c383&scene=0
         */
        private String ctime;
        private String source;
        private String title;
        private String views;
        private String url;

        public void setCtime(String ctime) {
            this.ctime = ctime;
        }

        public void setSource(String source) {
            this.source = source;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setViews(String views) {
            this.views = views;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getCtime() {
            return ctime;
        }

        public String getSource() {
            return source;
        }

        public String getTitle() {
            return title;
        }

        public String getViews() {
            return views;
        }

        public String getUrl() {
            return url;
        }
    }
}
